<?php
require 'P_Processor.php';
require 'PMSDB3Constants.php';
require 'P_GetDataFunctions.php';
require 'db3dbhandle.php';
require 'TVB/pms/pdes/common/bootstrap.php';
require 'InfoData.php';

$db  = CommonUtils::getDbConn(1,'preview')->getDbHandle();
DB3::set($db);
$obj = new Processor();

$programme_id = 261;
$user_id = 2;

print_r($obj->publishCompleteProgramme($programme_id,$user_id));

?>
